#include"Process.h"


void Process(){
  char buffer[Num];
  memset(buffer, 0, sizeof(buffer));
  int i = 0;
  char lable[] = "/-|\\";
  int length = strlen(lable);
  while(i <= 100){
   printf("[%-100s][%d%%][%c]\r", buffer, i, lable[i % length]);
   fflush(stdout);
   buffer[i] = STYLE;
   usleep(10000);
   ++i;
  }
  printf("\n");
}
